﻿using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.EntityFrameworkCore;

namespace EntityFrameworkExpample
{
    public class DbContext : PlutoStudio.EF.FrameworkDbContext
    {
        public DbContext(DbContextOptions options) : base(options)
        {
        }

        public DbSet<User> Users { get; set; }
    }

    public class User : PlutoStudio.Domain.Entities.Entity
    {
        public string Name { get; set; }
    }
    public class DbContext2 : PlutoStudio.EF.FrameworkDbContext
    {
        public DbContext2(DbContextOptions options) : base(options)
        {
        }

        public DbSet<User2> Users { get; set; }
    }

    public class User2 : PlutoStudio.Domain.Entities.Entity
    {
        public string Name { get; set; }
    }
}
